package cn.wsalix.templet.service.impl;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.anlaser.service.impl.SimpleServiceImpl;
import cn.anlaser.utils.SearchFilter;
import cn.wsalix.templet.entity.SitePlace;
import cn.wsalix.templet.form.SitePlaceForm;
import cn.wsalix.templet.repository.SitePlaceRepository;
import cn.wsalix.templet.service.SitePlaceService;

@Service("sitePlaceService")
@Transactional(readOnly = true)
public class SitePlaceServiceImpl extends
		SimpleServiceImpl<SitePlaceForm,SitePlaceRepository, SitePlace> implements SitePlaceService {

	@Autowired
	private SitePlaceRepository sitePlaceRepository;

	@Override
	public SitePlaceRepository getRepository() {
		return sitePlaceRepository;
	}

	@Override
	public String module() {
		return "siteplace";
	}

	@Override
	public Class<SitePlace> getEntityClazz() {
		return SitePlace.class;
	}

	@Override
	public Map<String, SearchFilter> buildByForm(SitePlaceForm form) {
		// TODO Auto-generated method stub
		return null;
	}

}
